<?php !defined('IN_DSW') && exit('大神你要飞呀');?>
<div class="sidebar">
    <nav class="navbar-collapse row">
        <ul class="" id="side-menu">
            {Tinwin tree $navmenu,NavList,cid}
                {Tinwin if v:NavList['ismain']==1}
                <li>
                <a href="#"><i class="{Tinwin v:NavList['iconfont']}"></i>{Tinwin v:NavList['menu_label']} <span class="nav-badge"></span> <span class="nav-more glyphicon glyphicon-chevron-right"></span></a>
                <ul class="collapse">        
                {Tinwin endif}
                    {Tinwin tree $navmenu,myList,myid}
                        {Tinwin if v:myList['parent_id']==v:NavList['id']}
                            {Tinwin if v:myList['isoutlink']==1}
                                <li><a href="{Tinwin v:myList['menu_path']}"><span>{Tinwin v:myList['menu_label']}</span></a></li>
                            {Tinwin else}
                                <li><a href="{Tinwin c:ADMIN_URL}{Tinwin v:myList['menu_path']}"><span>{Tinwin v:myList['menu_label']}</span></a></li>
                            {Tinwin endif}
                        {Tinwin endif}
                    {Tinwin endtree}
                {Tinwin if v:NavList['ismain']==1}
                    </ul>
                </li>
                {Tinwin endif}
            {Tinwin endtree}
        </ul>
    </nav>
</div>